package com.example.studentmanager.service;

import com.example.studentmanager.model.Grade;
import com.example.studentmanager.model.vo.GradeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GradeService {
    void addGrade(Grade grade);
    Grade searchGrade(int studentid,int courseid);
    void delGrade(int studentid,int courseid,String studentname);
    void changeGrade(Grade grade);
    List<GradeVo> listGrades(Integer page, Integer rows, String searchCol, String searchValue);
    //List<Grade> searchGradeBy(int courseid,int studentid,String coursename,String studentname);

    Integer counts(String searchCol,String searchValue);

}
